package cn.stylefeng.guns.modular.business.frequency.cmcompanyorder.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.cmcompanyorder.entity.CmCompanyOrder;
import cn.stylefeng.guns.modular.business.frequency.cmcompanyorder.model.param.CmCompanyOrderParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 通讯录联系人表 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
public interface CmCompanyOrderService extends IService<CmCompanyOrder> {

    /**
     * 分页查询通讯录联系人表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    PageResult<CmCompanyOrder> page(CmCompanyOrderParam cmCompanyOrderParam);

    /**
     * 查询所有通讯录联系人表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    List<CmCompanyOrder> list(CmCompanyOrderParam cmCompanyOrderParam);

    /**
     * 添加通讯录联系人表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void add(CmCompanyOrderParam cmCompanyOrderParam);

    /**
     * 删除通讯录联系人表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void delete(CmCompanyOrderParam cmCompanyOrderParam);

    /**
     * 编辑通讯录联系人表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void edit(CmCompanyOrderParam cmCompanyOrderParam);

    /**
     * 查看详情通讯录联系人表
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    CmCompanyOrder detail(CmCompanyOrderParam cmCompanyOrderParam);

}